@import "../../style/constant.scss";

.container {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.6);
  transition: all .3s linear;
  z-index: 999;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.content {
  display: flex;
  width: 300px;
  margin-top: 30px;
  background-color: white;
  border-radius: 12px;
  flex-direction: column;
  align-self: center;
  justify-content: center;
  position: relative;
}

.bgImage {
  position: absolute;
  top: 0;
  left: 0;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  height: 145px;
  width: 100%;
}

.titleContainer {
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 145px;
  padding: 44px 16px 0
}

.tipRow {
  position: relative;
  display: flex;
  flex-direction: row;
}

.tipText {
  font-size: 18px;
  line-height: 28px;
  color: #333333;
  font-weight: 500;
  font-family: PingFangSC-Medium;
}
.tipTextLine{
  position: absolute;
  z-index: -1;
  bottom: 0;
  width: 93px;
  height: 12px;
  background: linear-gradient(90deg, rgba(119, 237, 159, 1) 0%, rgba(255, 255, 255, 0) 100%);
}
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  z-index: 2;
  border-radius: 8px;
  background-color: white;
  margin: -21px 16px 0;
}

.itemRow {
  display: flex;
  flex-direction: row;
  width: 100%;
}

.itemContainer {
  flex: 1;
  display: flex;
  flex-direction: row;
  padding: 20px 0 20px 10px;
}

.trendContainer {
  display: flex;
  flex-direction: row;
  margin-top: 4px;
}

.trendText {
  font-weight: 500;
  font-family: PingFangSC-Medium;
  font-size: 14px;
  line-height: 20px;
  padding-right: 4px;
}

.itemIcon {
  width: 20px;
  height: 20px;
}

.right {
  display: flex;
  flex-direction: column;
  padding-left: 8px;
}

.title {
  color: #595959;
  font-size: 12px;
  line-height: 17px;
}

.desc {
  z-index: 1;
  color: #595959;
  font-size: 14px;
  line-height: 26px;
  margin: 8px 0 24px;
}

.closeBtn {
  display: flex;
  flex-direction: row;
  align-self: center;
  margin-top: 28px;
}

.closeIcon {
  width: 31px;
  height: 31px;
}

.line1 {
  width: 100%;
  height: 1px;
  @include ifndef(background, linear-gradient(90deg, rgba(245, 245, 245, 0.2) 0%, rgba(239, 239, 239, 1) 50%, rgba(239, 239, 239, 0.2) 100%), rn);
}

.line2 {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  z-index: 3;
  @include ifndef(background, linear-gradient(180deg, rgba(245, 245, 245, 0.2) 0%, rgba(239, 239, 239, 1) 50%, rgba(239, 239, 239, 0.2) 100%), rn);
}

.btn {
  display: flex;
  justify-content: center;
  align-items: center;
  align-self: center;
  width: 188px;
  height: 36px;
  border-radius: 18px;
  background-color: $theme;
  margin: 25px 0 24px;
  @include tabActive
}

.btnText {
  color: white;
  font-size: 14px;
}
